<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>我的网站</title>
    <style>
        body {
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }

        header {
            background-color: #2c3e50;
            color: white;
            padding: 1rem 2rem;
            text-align: center;
        }

        nav {
            background-color: #34495e;
            padding: 0.5rem;
            text-align: center;
        }

        nav a {
            color: white;
            text-decoration: none;
            margin: 0 1rem;
            font-weight: bold;
        }

        nav a:hover {
            color: #1abc9c;
        }

        main {
            max-width: 960px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        section {
            margin-bottom: 2rem;
        }

        h1, h2, h3 {
            color: #2c3e50;
        }

        footer {
            background-color: #2c3e50;
            color: white;
            text-align: center;
            padding: 1rem;
            margin-top: 3rem;
        }

        .hero {
            text-align: center;
            padding: 2rem 0;
        }

        .hero h1 {
            font-size: 2.5rem;
        }

        .hero p {
            font-size: 1.2rem;
            color: #555;
        }
    </style>
</head>
<body>

    <header>
        <h1>欢迎来到我的网站</h1>
    </header>

    <nav>
        <a href="#home">首页</a>
        <a href="#about">关于我</a>
        <a href="#services">服务</a>
        <a href="#contact">联系我</a>
    </nav>

    <main>
        <section id="home" class="hero">
            <h1>你好，我是张伟</h1>
            <p>这是一段简短的自我介绍，欢迎访问我的个人网站！</p>
        </section>

        <section id="about">
            <h2>关于我</h2>
            <p>我是一名热爱技术与设计的开发者，专注于前端开发与用户体验。平时喜欢探索新技术、阅读书籍，也热衷于开源项目。</p>
        </section>

        <section id="services">
            <h2>我能提供的服务</h2>
            <ul>
                <li>响应式网站设计与开发</li>
                <li>用户界面（UI）与用户体验（UX）优化</li>
                <li>网站性能调优与 SEO 优化</li>
                <li>技术咨询与培训</li>
            </ul>
        </section>

        <section id="contact">
            <h2>联系我</h2>
            <p>如有合作意向或想了解更多，请通过以下方式联系我：</p>
            <p>📧 邮箱：zhangwei@example.com</p>
            <p>📱 微信：zhangwei_dev</p>
        </section>
    </main>

    <footer>
        <p>&copy; 2025 我的网站. 保留所有权利。</p>
    </footer>

</body>
</html>